require('./role.scss');
const pop = require('../../../mod/pop');

// alert(window.self === window.top);

initRole();

function initRole(){
  $('#J_NewRole').click( ()=>{
    cleanForm();
    // operation = "add";
    pop('roleModal');

  } );
}

function cleanForm() {
    $("#roleid").val("");
    $("#rolename").val("");
    $("#remark").val("");
}
